const process = this.pageObj.getApiWidgetByAliasName('modal-process');
const $form = this.getApiPage().getApiWidgetByAliasName('judge-content')?.widgetObj;

this.pageObj.getApiWidgetsByClassName('event-operate')?.forEach(v => v.hideWidget());

if (process && $form?._option) {
  const { dataSource } = $form._option;

  if (dataSource) {
    const configs = process?.widgetObj.configs();
    const Modal = process?.widgetObj.getModal();
    const config = configs['自定义内容']('解除演练');

    process?.widgetObj.renderModal(config, { ...dataSource, eventId: dataSource.id });
    process.showWidget();
  }
}
